package initialization;

public class MethodInit {
//    int j = g(i); // Illegal forward reference

    int i = f();
    int j = g(i);
    int f() { return 11; }
    int g(int n){ return n * 10; };
    int t;
    MethodInit() {
        t = 7;
    }
    public static void main(String[] args){
        System.out.println(new MethodInit().i);
        System.out.println(new MethodInit().j);
        System.out.println(new MethodInit().t);
    }
} ///:~
